package com.hkts.naturalgasauthentication.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.*;

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "role_permission")
@TableName("role_permission")
public class RolePermission extends ManagementBaseEntity {

    private static final long serialVersionUID = 1L;

    @Column(name = "role_id")
    private String roleId;

    @Column(name = "permission_id")
    private String permissionId;

    @Transient
    private Integer permissionLevel;
}